package com.hospital.workstation.service;

import com.hospital.workstation.domain.PharmaceuticalCareDetail;
import com.hospital.workstation.domain.vo.PharmaceuticalCareDetailVo;
import com.hospital.workstation.domain.bo.PharmaceuticalCareDetailBo;
import com.hospital.common.core.page.TableDataInfo;
import com.hospital.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 药学监护详情Service接口
 *
 * @author whb
 * @date 2023-02-15
 */
public interface IPharmaceuticalCareDetailService {

    /**
     * 查询药学监护详情
     */
    PharmaceuticalCareDetailVo queryById(Long id);

    /**
     * 查询药学监护详情列表
     */
    TableDataInfo<PharmaceuticalCareDetailVo> queryPageList(PharmaceuticalCareDetailBo bo, PageQuery pageQuery);

    /**
     * 查询药学监护详情列表
     */
    List<PharmaceuticalCareDetailVo> queryList(PharmaceuticalCareDetailBo bo);

    /**
     * 新增药学监护详情
     */
    Boolean insertByBo(PharmaceuticalCareDetailBo bo);

    /**
     * 修改药学监护详情
     */
    Boolean updateByBo(PharmaceuticalCareDetailBo bo);

    /**
     * 校验并批量删除药学监护详情信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
